package com.wisdytech.common.bean.event;

import com.wisdytech.common.enums.ActionType;
import com.wisdytech.linkdcs.equipment.model.EquipmentToClient;
import org.springframework.context.ApplicationEvent;

/**
 * dcs设备事件
 * 特指对设备进行修改事件
 * @author dlb
 *
 */
public class DcsEquipChangeEvent extends ApplicationEvent {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2636650419209653678L;
	
	private EquipmentToClient clientConnect;
	
	private ActionType type;

	public DcsEquipChangeEvent(Object source, EquipmentToClient clientConnect, ActionType type) {
		super(source);
		this.clientConnect=clientConnect;
		this.type=type;
	}

	

	public EquipmentToClient getClientConnect() {
		return clientConnect;
	}



	public void setClientConnect(EquipmentToClient clientConnect) {
		this.clientConnect = clientConnect;
	}



	public ActionType getType() {
		return type;
	}

	public void setType(ActionType type) {
		this.type = type;
	}
	
	
	

}
